function [newStack,popedValue] = popStack(a)
    popedValue = a{1};
    newStack = a(2:end);
end